package moe.oil;

import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(basePackages = "moe.oil.*")
@EnableDiscoveryClient
@Log4j2
public class ApiApplication {
    @Value("${spring.redis.host}")
    String host;

    public static void main(String[] args) {
        SpringApplication.run(ApiApplication.class, args);
        System.out.println(1);
    }

}
